package com.linzp.bishe.model;

import com.linzp.bishe.entity.Participants;
import com.linzp.bishe.entity.Zproject;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName HprojectModel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/10 12:36
 * @Version 1.0
 */
@Data
public class ZprojectModel {
	private Integer id;

	private String projectName;

	private String numbers;

	private String sources;

	private LocalDateTime projectTime;

	private String projectLevel;

	private String projectType;

	private String projectStype;

	private Boolean topic;

	private Boolean mainCompany;

	private Boolean manageCompany;

	private Integer companyRanking;

	private String participantName;

	private Double projectFunds;

	private Boolean internationalCooperation;

	private Boolean majorFocus;

	private String remark;

	private String projectDocument;

	private String inputPeople;

	private String status;

	private Integer userId;

	private List<Participants> participants;

	public Zproject getZproject() {
		return new Zproject(id,projectName,numbers,sources,projectTime,projectLevel,
				projectType,projectStype,topic,mainCompany, manageCompany,  companyRanking,
				 participantName,  projectFunds,internationalCooperation,majorFocus,
				remark, projectDocument, inputPeople, status, userId);
	}
}
